﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrators.master" AutoEventWireup="true" CodeFile="AddDrug.aspx.cs" Inherits="AddDrug" Theme="TextBox" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <br />
    <table align="center" style="width: 80%;"  border="1" border-style="dotted">
            <tr>
                <th style="width:300px"  height="50px"  colspan="2"  ><font size="6px">添 加 药 品 信 息</font>
                </th>
            </tr>
            <tr>
                <td style="width: 300px; height: 45px;" align="right">药品编号：</td>
                <td style="width: 300px; height: 45px;">
                    &nbsp;
                    <asp:TextBox ID="TxtID" runat="server" Width="180px" BorderColor="#66CCFF" BorderStyle="Outset" AutoPostBack="true" autocomplete="off" OnTextChanged="TxtID_TextChanged"></asp:TextBox>
                &nbsp;<asp:Label ID="lblTs" runat="server" Font-Size="Medium" ForeColor="#999999"></asp:Label>
                    </td>
                
            </tr>
            <tr>
                <td style="width: 300px; height: 45px;" align="right">通用名称：</td>
                <td style="width: 300px; height: 45px;">
                    &nbsp;
                    <asp:TextBox ID="TxtComName" runat="server" Width="180px" BorderColor="#66CCFF" BorderStyle="Outset" autocomplete="off"></asp:TextBox>
                </td>                
            </tr>
            <tr>
                <td style="width: 300px" height="45px" align="right">商品名称：</td>
                <td style="width: 300px" height="45px">
                    &nbsp;
                    <asp:TextBox ID="TxtName" runat="server" BorderColor="#66CCFF" BorderStyle="Outset" Width="180px" autocomplete="off"></asp:TextBox>
                    </td>                
            </tr>
            <tr>
                <td style="width:300px" height="45px" align="right">药品类型：</td>
                <td style="width:300px" height="45px">
                    &nbsp;
                    <asp:DropDownList ID="DropType" runat="server" Height="25px" Width="190px" DataSourceID="SqlDataSource1" DataTextField="Type" DataValueField="ID">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:HospitalConnectionString3 %>" SelectCommand="SELECT * FROM [DrugType]"></asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td style="width:300px" height="45px" align="right">价格：</td>
                <td style="width:300px" height="45px">
                    &nbsp;
                    <asp:TextBox ID="TxtInfo" runat="server" BorderColor="#66CCFF" BorderStyle="Outset" Width="180px" autocomplete="off"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="width:300px; height: 45px;" align="right">规格：</td>
                <td style="width:300px; height: 45px;">
                    &nbsp;
                    <asp:TextBox ID="TxtSpec" runat="server" BorderColor="#66CCFF" BorderStyle="Outset" Width="180px" autocomplete="off"></asp:TextBox>
                    </td>
            </tr>
            <tr>
                <td style="width:300px" height="45px" align="right">特殊管理：</td>
                <td style="width:300px" height="45px">
                    &nbsp;
                    <asp:DropDownList ID="DropManage" runat="server" Height="25px" Width="110px">
                        <asp:ListItem>是</asp:ListItem>
                        <asp:ListItem>否</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td style="width:300px" height="45px" align="right">医保类：</td>
                <td>&nbsp;
                    <asp:DropDownList ID="DropInsurance" runat="server" Height="25px" Width="110px">
                        <asp:ListItem>甲类</asp:ListItem>
                        <asp:ListItem>乙类</asp:ListItem>
                        <asp:ListItem>丙类</asp:ListItem>
                        <asp:ListItem>其他</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td style="width:300px; height: 45px;" align="right">进口药：</td>
                <td style="height: 45px">&nbsp;
                    <asp:DropDownList ID="DropIsimport" runat="server" Height="25px" Width="110px" AutoPostBack="True" OnSelectedIndexChanged="DropIsimport_SelectedIndexChanged">
                        <asp:ListItem>否</asp:ListItem>
                        <asp:ListItem>是</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td style="width:300px" height="45px" align="right">国家地区：</td>
                <td>&nbsp;
                    <asp:TextBox ID="TxtCountry" runat="server" BorderColor="#66CCFF" BorderStyle="Outset" Width="180px" autocomplete="off" Enabled="False"></asp:TextBox>
                    </td>
            </tr>
            <tr>
                <td style="width:300px" height="45px" align="right">生产企业：</td>
                <td>&nbsp;

                    <asp:TextBox ID="TxtProducearea" runat="server" BorderColor="#66CCFF" BorderStyle="Outset" Width="180px" autocomplete="off"></asp:TextBox>

                    </td>
            </tr>
            <tr>
                <td style="width:300px" height="45px" align="right">批准文号：</td>
                <td>
                    &nbsp;
                    <asp:TextBox ID="TxtAuthorizeSN" runat="server" BorderColor="#66CCFF" BorderStyle="Outset" Width="180px" autocomplete="off"></asp:TextBox>
                    </td>
            </tr>
            <tr>
                <td style="width: 300px; height: 35px;" align="right">
                    <asp:Button ID="BtnTj" runat="server" Text="添 加" Width="55px" BackColor="#CCCCFF" BorderColor="#66CCFF" BorderStyle="Outset" OnClick="BtnTj_Click" />&nbsp;&nbsp;&nbsp; </td>
                <td style="width: 300px; height: 35px;" align="left">&nbsp;
                    <asp:Button ID="BtnQk" runat="server" Text="清 空" Width="55px" BackColor="#CCCCFF" BorderColor="#66CCFF" BorderStyle="Outset" OnClick="BtnQk_Click" style="height: 21px" />
                </td>
            </tr>
        </table>
</asp:Content>

